package cn.com.cjwsjy.monitor.platform.earlywarn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author hd
 * @email 2659528139@qq.com
 * @date 2021-02-01 09:52:16
 */
@Data
@TableName("early_warning_management")
public class EarlyWarningManagementEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId(type = IdType.INPUT)
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;
	/**
	 * 预警等级
	 */
	private String warningLevel;
	/**
	 * 指标名称
	 */
	private String indexName;
	/**
	 * 预警颜色
	 */
	private String warningColor;
	/**
	 * 最后修改时间
	 */
	private Date lastUpdateTime;
	/**
	 * 排序值
	 */
	private Integer sort;
	/**
	 * 备注
	 */
	private String remarks;

}
